home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Updates / General / BBBUpdate1.sit / BBB Update 1 / DocMaker version / Update 1 – DocMaker.rsrc / TEXT_136.txt < prev    next >
Encoding:
Text File  |  1992-07-27  |  11.6 KB  |  194 lines

  1. Things that can go wrong
  2.  
  3. No Dial Tone
  4.  
  5. If you do not hear the dial tone or the touch tones as the modem dials, then either you have a modem without a speaker, your modem is not connected to the phone line, your cable is not working, or your modem is not plugged in. Check all of these again.
  6.  
  7. No response
  8.  
  9. If you connect and nothing at all happens, I suggest  you type another carriage return. This may wake up the bulletin board system. If this does not work, try hitting the <esc> key a few times. This key is located in the upper left corner of your keyboard.  If this doesn‚Äôt work, try selecting Send Break from the Misc menu. 
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. Chock full o‚Äônoise
  27.  
  28. Another thing that can go wrong is that you can get a very noisy phone connection. In this case, your session may look something like this: 
  29.  
  30. CONNECT 2400 BMUG 2400 bps
  31.  
  32. √±W$‚â†].]√™connected to Akbar & Jeff's Noise Hut,  ALAS....
  33.  
  34. BMUG Online Jy‚â§QU√ò √ã‚àÜ√≠√ø√üd(SM).  All Wron{}(*gs‚àÜ√≠&% Deserved.  All private messages on
  35. this BBS arJy‚â§Q√ø√üde read by the Exe{utive Director of BMUG,
  36. Steven Jy‚â§$‚â†] √ã‚àÜ√≠√±WdW Costa, andJy‚â§YQ$‚â†]‚àÜ√≠√øPd the Chairman of the Board, Gregory  Dow. Every last one of them!
  37.  
  38. The best thing to do under these circumstances is to hang up by selecting Hang Up from the Dial menu and either call from another phone or try again later. 
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66. Hardware Handshaking
  67.  
  68. Hardware handshaking problems are one of the most common, and difficult problems that beginners run into.  They are insidious because they often only show up during file transfers, when it is difficult to diagnose the source of the problem. 
  69.  
  70. The problem is most common among recent purchasers of high speed modems. After picking up a ‚Äústandard‚Äù modem cable at a nearby store, the neophyte brings their brand new modem home. Filled with fantasies about attaining transfer rates in the stratosphere, they set their communication program to 56 kbps and dial up their favorite BBS to take their new toy ‚Äúfor a spin.‚Äù Alas, not only does the modem not perform as advertised, but they find that ZMODEM transfers which were fine at 2400 bps now abort due to an excessive number of errors. Angry that their new toy doesn‚Äôt work, the neophyte now writes a nasty letter to the Sysop, telling them to fix their defective ZMODEM implementation. 
  71.  
  72. What‚Äôs wrong with this picture? The neophyte‚Äôs problems are not due to the BBS, or their modem, but rather due to their communications settings, and the type of modem cable they are using. 
  73.  
  74. Firstly, the ‚Äústandard‚Äù cable that the neophyte purchased probably doesn‚Äôt support hardware handshaking, which is advised when communicating at speeds of 9600 bps and above. Since most computer stores don‚Äôt stock hardware handshake cables, and wouldn‚Äôt know such a cable if they saw one anyway, the thing to do is to get the cable right from the manufacturer (Supra offers a kit with the cable included) or from a specialty cable outfit, such as Celestin Company. 
  75.  
  76.     Secondly, the neophyte‚Äôs communications program probably isn‚Äôt set  to do hardware handshaking. Here‚Äôs what the ZTerm dialog box for hardware handshaking looks like. You can get to it by selecting Connection... from the Settings menu. Notice that I have both Hardware  Handshaking and XON/XOFF selected.
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101. What is the source of the problem? If it occurs during an upload, then the neophyte has been forcing the computer to send data to the modem at 56 kbps, which is faster than it can receive it on a sustained basis. If the problem occurs during a download, then the neophyte has been forcing the computer to receive data from the modem at 56 kbps, without the ability to pause if it is interrupted by other events, such as another application running in the background, or the need to write a buffer to disk. 
  102.  
  103. Without hardware handshaking, there is no way for the modem or computer to temporarily stop the transfer when they are overloaded. As a result, the modem or computer‚Äôs internal buffer can overflow, losing data. The result is that received or sent packets contain invalid data, resulting in a ‚ÄúCRC error‚Äù message. Eventually the file transfer aborts due to too many errors. 
  104.  
  105. Why can‚Äôt a V.32bis/V.42bis  modem (often advertised as having a maximum transfer speed of 38.4 kbps or 56 kbps) actually send data at this speed? The problem is that the marketing types at the modem vendors have been pulling a fast one.  In reality the V.4bis  compression that marketing types get so excited about contributes nothing when users download compressed files, as they do almost all the time. Therefore the neophyte‚Äôs modem is only operating at its maximum modulation speed at best, and probably slower due to line noise. In the case of
  106. V.32bis modems, the maximum speed is 14,400 bps.  Therefore a speed of 19,200 bps would suffice to drive the  modem at its maximum rate. 
  107.  
  108. Why can‚Äôt a V.32bis/V.42bis  modem (often advertised as having a maximum transfer speed of 38.4 kbps or 56 kbps) actually send data at this speed? The problem is that the marketing types at the modem vendors have been pulling a fast one. In reality the V.4bis  compression that marketing types get so excited about contributes nothing when users download compressed files, as they do almost all the time. Therefore the neophyte‚Äôs modem is only operating at its maximum modulation speed at best, and probably slower due to line noise. In the case of
  109. V.32bis modems, the maximum speed is 14,400 bps.  Therefore a speed of 19,200 bps should suffice to drive your modem at its maximum rate. 
  110.  
  111. If the file you are transferring is uncompressed, V.42bis might actually be able to speed the transfer somewhat, and if the on-the-fly compression is more than 25%, the modem might actually be held back by only being fed at 19,200 bps. This is why many ‚Äúexperts‚Äù recommend setting the speed to 38,400 kbps instead, to insure that your modem will operate at its maximum possible transfer rate under all conditions. However, my own tests indicate that going from 19,200 bps to 38,400 bps is rarely beneficial, and can actually result in lower transfer rates on occasion. 
  112.  
  113. Wrong Speed
  114.  
  115. Yet another possibility is that you might connect to your chosen system at the wrong speed. This could happen if you have a 1200 bps modem, because the default settings in ZTerm are for 2400 bps modems. In this case, your session may look something like this:
  116.  
  117. CONNECT 2400
  118. x¯xx‡¯xÄxÄÄx˛x¯x˛Äx¯xįx˛¯x‡¯x‡¯xÄx˛x¯xÄxÄxįx˛¯xÄxx¯¯x‡x‡xx‡Äx‡Äx˛ÄÄÄÄx‡x
  119. Äx‡Äx‡Äx˛ÄįÄxÄx˛Äx˛¯xÄxÄx¯xÄÄx¯x¯xx‡ÄÄxxÄx<<x˛Äx¸x‡Äx‡Äx‡Äx‡x˛Äxx˛ÄxÄxÄx
  120. x¯¯Ä¯Äx‡¯x¯x<<¯¯x¸xÄx‡¯Äx¯Äx<¸Äx‡ÄÄxx¯x¯¯Ä¯xÄÄx˛¯x‡¯x˛Äx˛ÄxÄxÄx˛ÄxÄx‡Äx‡
  121. ¯¯x¸xÄx‡x‡ÄÄx¯¯x¯xÄx‡Äx<¸Ä¯xx¯xÄxÄx˛¯¯x¸x˛Äx˛Äxx˛Äxį¯Äxį¯x‡¯xÄx˛Äx¯x¯¯x‡¯
  122. x˛ÄxÄÄx‡x˛Äx˛Äxx‡ÄxÄxÄÄįx¸xxÄxÄÄx¸¯Ä¯x¯xÄxÄx¿xxį¯x¯x¯x<<¯xįÄx<<‡x
  123. Äx˛¯¯x˛¯x‡Äxį¯x‡Ä¯ÄÄxÄxx¯xx‡Äx˛Äx¯Äx¿¯xÄx‡¯xÄx‡¯¯Ä¯xįx˛¯x˛Ä¯¯xxx‡Äxx‡¯¯Ä
  124. xįx¯xÄxįx¯xx<<‡x¯xx‡¯¯Ä¯¯x‡Äxįx¯¯x¸xÄÄx˛¯xx‡Ä¯Äxx‡Ä¯x‡Äxį¯Äx˛¯x‡Äx¸x
  125.  
  126.     Artistic, right? To fix this, select Connection... on the Settings menu. You will then
  127. be greeted with the communications dialog box:
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148. Change the Data Rate to match the number after the word CONNECT (above). As the menu shows, my 2400 bps  modem had been set at 9600 bps while dialing another 2400 bps modem. 
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. Skip this section ‚Äì Arcane discussion of flow control ahead 
  174.  
  175. Back in the section on Hardware Handshaking, the modem heads among you may have wondered: why use two methods of flow control, XON/XOFF and Hardware Handshake? 
  176.  
  177. XON/XOFF is an end-to-end flow control mechanism; that is, it controls flow between two pieces of software. In order for this to work, both applications must agree to the XON/XOFF convention.  In this convention, an XOFF character (cntrl-Q) turns off flow, and an XON character (cntrl-S) turns it on again. XON/XOFF is only one convention for end-to-end flow control;  upper level protocols (such as TCP/IP) may contain their own end-to-end flow control mechanisms. In the case of TCP/IP, flow control is maintained by a mechanism called window advertisement, in which the receiving system advertises the size of the sliding window that it is prepared to accept. 
  178.  
  179. The important thing to understand is that  use of end-to-end flow control does not decrease the need for flow control at lower levels, such as at the computer/modem or modem/modem level. Within TCP/IP for example, not only is there an end-to-end flow control mechanism (window advertisement), but there is also a mechanism by which an overloaded node on the network can tell a sending  node (which may not be the originator of the packets) to slow down. This is known as Source Quench. 
  180.  
  181. Hardware Handshaking functions as the low-level flow control mechanism between a computer and an attached modem. There is also another low-level flow control mechanism, that operates between the two modems. This mechanism is part of the V.42 standard. 
  182.  
  183. Why do we need Hardware Handshaking? At speeds of 9600 bps and up, it is possible for the computer to send bytes to the modem, or for the modem to send bytes to the computer so quickly that the buffers on the computer or modem will overflow. When this condition is approached, there needs to be a way of sending a signal to stop the flow.
  184.  
  185. That signal cannot easily be delivered as a sequence of bytes. Think  about it: if the computer could stop the modem by sending it a string of bytes, what would happen if that string was sent by accident as part of a file transfer? The transfer would abort, because the modem would stop, and the computer wouldn‚Äôt know why. Therefore, the signal is sent electrically, using the hardware handshaking lines that run between the modem and the computer. 
  186.  
  187. There is one line (CTS) with which the modem tells the computer that it is ok
  188. to send; in Macintosh lingo this is called Handshake In. Another  line (RTS) is used by the computer to tell the modem that it is ready to receive. In Macintosh lingo, this is known as Handshake Out. If the computer‚Äôs receive buffer is full, it  ‚Äúnegates‚Äù RTS; if the buffer the modem uses for incoming traffic from the computer  is full, it ‚Äúnegates‚Äù CTS. 
  189.  
  190. What other buffers are there? Well, modems also have buffers to manage bytes coming and going between each other. These buffers (which are  smaller than the computer/modem buffer)  must also be managed. This is accomplished via the flow control mechanisms available in error correction protocol such as V.42.  This flow control mechanism is brought into play after a computer signals to the modem that it cannot accept any more data, by negating the RTS line. In order to keep its modem/modem buffer from overflowing, the attached modem must therefore signal to the other modem to stop sending.  The other modem in turn then negates its CTS line, signalling to its attached computer that it is not ready to accept data. 
  191.  
  192. How do the modems handle flow control between each other? Under the V.42 protocol, the receiving modem can send a Receiver Not Ready (RNR) frame to the sending modem to tell it to stop. Another mechanism is to not acknowledge the incoming packets. However, this will not work beyond when the retransmission timer expires. V.42 is a sliding windows protocol with a window size of 15 frames, and a sequence number modulus default of 128. 
  193.  
  194.